/* 提现管理 */
/* 充值记录 */
const {
  selectWithdrawInfo,
  selectRechargeInfo
} = require('../model/withdraw');

/* 获取提现管理信息 */
let getWithdraw = async (ctx, next) => {
  selectWithdrawInfo(ctx, next);
};
/* 获取充值记录信息 */
let getRecharge = async (ctx, next) => {
  selectRechargeInfo(ctx, next);
};

/* 注意请求方式后面的空格 */
module.exports = {
  'GET /withdraw': getWithdraw,
  'GET /recharge': getRecharge
};